From f7ee0ea2d30a35cb4ccdc72352e07b548dc2ef56 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Wed, 22 Jun 2022 18:23:14 -0500 Subject: [PATCH] Remove stray spaces from reference files, code that put them there. (#885) * Remove spaces from generated help messages, reference files. --- main.cc | 2 +- reference/filterusage.txt | 10 +- reference/formatusage.txt | 16 +- reference/help.txt | 794 +++++++++++++++++------------------ reference/topomapexample.txt | 2 +- reference/usage.txt | 4 +- vecs.cc | 8 +- 7 files changed, 418 insertions(+), 418 deletions(-) diff --git a/main.cc b/main.cc index 70d277d2c..02c274687 100644 --- a/main.cc +++ b/main.cc @@ -139,7 +139,7 @@ usage(const char* pname, int shorter) " -T Process realtime tracking information\n" " -w Process waypoint information [default]\n" " -b Process command file (batch mode)\n" - " -x filtername Invoke filter (placed between inputs and output) \n" + " -x filtername Invoke filter (placed between inputs and output)\n" " -D level Set debug level [%d]\n" " -h, -? Print detailed help and exit\n" " -V Print GPSBabel version and exit\n" diff --git a/reference/filterusage.txt b/reference/filterusage.txt index 37dbf7f0a..5a74bc95b 100644 --- a/reference/filterusage.txt +++ b/reference/filterusage.txt @@ -1,10 +1,10 @@ - radius Include Only Points Within Radius + radius Include Only Points Within Radius lat Latitude for center point (D.DDDDD) (required) lon Longitude for center point (D.DDDDD) (required) distance Maximum distance from center (required) - exclude Exclude points close to center - nosort Inhibit sort by distance to center - maxcount Output no more than this number of points - asroute Put resulting waypoints in route of this name + exclude Exclude points close to center + nosort Inhibit sort by distance to center + maxcount Output no more than this number of points + asroute Put resulting waypoints in route of this name diff --git a/reference/formatusage.txt b/reference/formatusage.txt index c2e62926f..a61bf8393 100644 --- a/reference/formatusage.txt +++ b/reference/formatusage.txt @@ -1,11 +1,11 @@ gpx GPX XML - snlen Length of generated shortnames - suppresswhite (0/1) No whitespace in generated shortnames - logpoint (0/1) Create waypoints from geocache log entries - urlbase Base URL for link tag in output - gpxver Target GPX version for output - humminbirdextensio (0/1) Add info (depth) as Humminbird extension - garminextensions (0/1) Add info (depth) as Garmin extension - elevprec Precision of elevations, number of decimals + snlen Length of generated shortnames + suppresswhite (0/1) No whitespace in generated shortnames + logpoint (0/1) Create waypoints from geocache log entries + urlbase Base URL for link tag in output + gpxver Target GPX version for output + humminbirdextensio (0/1) Add info (depth) as Humminbird extension + garminextensions (0/1) Add info (depth) as Garmin extension + elevprec Precision of elevations, number of decimals diff --git a/reference/help.txt b/reference/help.txt index 1ed724f3b..f76efa9c0 100644 --- a/reference/help.txt +++ b/reference/help.txt @@ -26,7 +26,7 @@ Options: -T Process realtime tracking information -w Process waypoint information [default] -b Process command file (batch mode) - -x filtername Invoke filter (placed between inputs and output) + -x filtername Invoke filter (placed between inputs and output) -D level Set debug level [0] -h, -? Print detailed help and exit -V Print GPSBabel version and exit @@ -34,474 +34,474 @@ Options: File Types (-i and -o options): baroiq Brauniger IQ Series Barograph Download cambridge Cambridge/Winpilot glider software - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) v900 Columbus/Visiontac V900 files (.csv) csv Comma separated values - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) iblue747 Data Logger iBlue747 csv - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) iblue757 Data Logger iBlue757 csv - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) exif Embedded Exif-GPS data (.jpg) - filename (0/1) Set waypoint name to source filename - frame Time-frame (in seconds) - name Locate waypoint for tagging by this name - overwrite (0/1) !OVERWRITE! the original file. Default=N + filename (0/1) Set waypoint name to source filename + frame Time-frame (in seconds) + name Locate waypoint for tagging by this name + overwrite (0/1) !OVERWRITE! the original file. Default=N shape ESRI shapefile - name Source for name field in .dbf - url Source for URL field in .dbf + name Source for name field in .dbf + url Source for URL field in .dbf igc FAI/IGC Flight Recorder Data Format - timeadj (integer sec or 'auto') Barograph to GPS time diff + timeadj (integer sec or 'auto') Barograph to GPS time diff garmin_fit Flexible and Interoperable Data Transfer (FIT) Act - allpoints (0/1) Read all points even if latitude or longitude is m - recoverymode (0/1) Attempt to recovery data from corrupt file + allpoints (0/1) Read all points even if latitude or longitude is m + recoverymode (0/1) Attempt to recovery data from corrupt file gpssim Franson GPSGate Simulation - wayptspd Default speed for waypoints (knots/hr) - split (0/1) Split input into separate files + wayptspd Default speed for waypoints (knots/hr) + split (0/1) Split input into separate files garmin301 Garmin 301 Custom position and heartrate - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) garmin_g1000 Garmin G1000 datalog input filter file - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) gdb Garmin MapSource - gdb - cat Default category on output (1..16) - bitscategory Bitmap of categories - ver Version of gdb file to generate (1..3) - via (0/1) Drop route points that do not have an equivalent w - dropwpt (0/1) Don't create waypoints for non-user points - roadbook (0/1) Include major turn points (with description) from + cat Default category on output (1..16) + bitscategory Bitmap of categories + ver Version of gdb file to generate (1..3) + via (0/1) Drop route points that do not have an equivalent w + dropwpt (0/1) Don't create waypoints for non-user points + roadbook (0/1) Include major turn points (with description) from garmin_txt Garmin MapSource - txt (tab delimited) - date Read/Write date format (i.e. yyyy/mm/dd) - datum GPS datum (def. WGS 84) - dist Distance unit [m=metric, s=statute] - grid Write position using this grid. - prec Precision of coordinates - temp Temperature unit [c=Celsius, f=Fahrenheit] - time Read/Write time format (i.e. HH:mm:ss xx) - utc Write timestamps with offset x to UTC time + date Read/Write date format (i.e. yyyy/mm/dd) + datum GPS datum (def. WGS 84) + dist Distance unit [m=metric, s=statute] + grid Write position using this grid. + prec Precision of coordinates + temp Temperature unit [c=Celsius, f=Fahrenheit] + time Read/Write time format (i.e. HH:mm:ss xx) + utc Write timestamps with offset x to UTC time garmin_poi Garmin POI database - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) garmin_gpi Garmin Points of Interest (.gpi) - alerts (0/1) Enable alerts on speed or proximity distance - bitmap Use specified bitmap on output - category Default category on output - hide (0/1) Don't show gpi bitmap on device - descr (0/1) Write description to address field - notes (0/1) Write notes to address field - position (0/1) Write position to address field - proximity Default proximity - sleep After output job done sleep n second(s) - speed Default speed - unique (0/1) Create unique waypoint names (default = yes) - units Units used for names with @speed ('s'tatute or 'm' - writecodec codec to use for writing strings - languagecode language code to use for reading dual language fil + alerts (0/1) Enable alerts on speed or proximity distance + bitmap Use specified bitmap on output + category Default category on output + hide (0/1) Don't show gpi bitmap on device + descr (0/1) Write description to address field + notes (0/1) Write notes to address field + position (0/1) Write position to address field + proximity Default proximity + sleep After output job done sleep n second(s) + speed Default speed + unique (0/1) Create unique waypoint names (default = yes) + units Units used for names with @speed ('s'tatute or 'm' + writecodec codec to use for writing strings + languagecode language code to use for reading dual language fil garmin Garmin serial/USB protocol - snlen Length of generated shortnames - snwhite (0/1) Allow whitespace synth. shortnames - deficon Default icon name - get_posn (0/1) Return current position as a waypoint - power_off (0/1) Command unit to power itself down - erase_t (0/1) Erase existing courses when writing new ones - resettime (0/1) Sync GPS time to computer time - category Category number to use for written waypoints - bitscategory Bitmap of categories - baud Speed in bits per second of serial port (baud=9600 + snlen Length of generated shortnames + snwhite (0/1) Allow whitespace synth. shortnames + deficon Default icon name + get_posn (0/1) Return current position as a waypoint + power_off (0/1) Command unit to power itself down + erase_t (0/1) Erase existing courses when writing new ones + resettime (0/1) Sync GPS time to computer time + category Category number to use for written waypoints + bitscategory Bitmap of categories + baud Speed in bits per second of serial port (baud=9600 gtrnctr Garmin Training Center (.tcx/.crs/.hst/.xml) - course (0/1) Write course rather than history, default yes - sport Sport: Biking (deflt), Running, MultiSport, Other + course (0/1) Write course rather than history, default yes + sport Sport: Biking (deflt), Running, MultiSport, Other geo Geocaching.com .loc - deficon Default icon name - nuke_placer (0/1) Omit Placer name + deficon Default icon name + nuke_placer (0/1) Omit Placer name geojson GeoJson - compact (0/1) Compact Output. Default is off. + compact (0/1) Compact Output. Default is off. dg-100 GlobalSat DG-100/BT-335 Download - erase (0/1) Erase device data after download - erase_only (0/1) Only erase device data, do not download anything + erase (0/1) Erase device data after download + erase_only (0/1) Only erase device data, do not download anything dg-200 GlobalSat DG-200 Download - erase (0/1) Erase device data after download - erase_only (0/1) Only erase device data, do not download anything + erase (0/1) Erase device data after download + erase_only (0/1) Only erase device data, do not download anything globalsat GlobalSat GH625XT GPS training watch - showlist (0/1) list tracks - track get track - dump-file Dump raw data to this file - input-is-dump-file (0/1) Dump raw data to this file - timezone Time zone ID + showlist (0/1) list tracks + track get track + dump-file Dump raw data to this file + input-is-dump-file (0/1) Dump raw data to this file + timezone Time zone ID kml Google Earth (Keyhole) Markup Language - deficon Default icon name - lines (0/1) Export linestrings for tracks and routes - points (0/1) Export placemarks for tracks and routes - line_width Width of lines, in pixels - line_color Line color, specified in hex AABBGGRR - floating (0/1) Altitudes are absolute and not clamped to ground - extrude (0/1) Draw extrusion line from trackpoint to ground - track (0/1) Write KML track (default = 0) - trackdata (0/1) Include extended data for trackpoints (default = 1 - trackdirection (0/1) Indicate direction of travel in track icons (defau - units Units used when writing comments ('s'tatute, 'm'et - labels (0/1) Display labels on track and routepoints (default - max_position_point Retain at most this number of position points (0 - rotate_colors Rotate colors for tracks and routes (default autom - prec Precision of coordinates, number of decimals + deficon Default icon name + lines (0/1) Export linestrings for tracks and routes + points (0/1) Export placemarks for tracks and routes + line_width Width of lines, in pixels + line_color Line color, specified in hex AABBGGRR + floating (0/1) Altitudes are absolute and not clamped to ground + extrude (0/1) Draw extrusion line from trackpoint to ground + track (0/1) Write KML track (default = 0) + trackdata (0/1) Include extended data for trackpoints (default = 1 + trackdirection (0/1) Indicate direction of travel in track icons (defau + units Units used when writing comments ('s'tatute, 'm'et + labels (0/1) Display labels on track and routepoints (default + max_position_point Retain at most this number of position points (0 + rotate_colors Rotate colors for tracks and routes (default autom + prec Precision of coordinates, number of decimals land_air_sea GPS Tracking Key Pro text - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) gtm GPS TrackMaker arc GPSBabel arc filter file - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) gpsdrive GpsDrive Format - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) gpsdrivetrack GpsDrive Format for Tracks - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) gpx GPX XML - snlen Length of generated shortnames - suppresswhite (0/1) No whitespace in generated shortnames - logpoint (0/1) Create waypoints from geocache log entries - urlbase Base URL for link tag in output - gpxver Target GPX version for output - humminbirdextensio (0/1) Add info (depth) as Humminbird extension - garminextensions (0/1) Add info (depth) as Garmin extension - elevprec Precision of elevations, number of decimals + snlen Length of generated shortnames + suppresswhite (0/1) No whitespace in generated shortnames + logpoint (0/1) Create waypoints from geocache log entries + urlbase Base URL for link tag in output + gpxver Target GPX version for output + humminbirdextensio (0/1) Add info (depth) as Humminbird extension + garminextensions (0/1) Add info (depth) as Garmin extension + elevprec Precision of elevations, number of decimals holux Holux (gm-100) .wpo Format m241-bin Holux M-241 (MTK based) Binary File Format - csv MTK compatible CSV output file + csv MTK compatible CSV output file m241 Holux M-241 (MTK based) download - erase (0/1) Erase device data after download - erase_only (0/1) Only erase device data, do not download anything - log_enable (0/1) Enable logging after download - csv MTK compatible CSV output file - block_size_kb Size of blocks in KB to request from device + erase (0/1) Erase device data after download + erase_only (0/1) Only erase device data, do not download anything + log_enable (0/1) Enable logging after download + csv MTK compatible CSV output file + block_size_kb Size of blocks in KB to request from device html HTML Output - stylesheet Path to HTML style sheet - encrypt (0/1) Encrypt hints using ROT13 - logs (0/1) Include groundspeak logs if present - degformat Degrees output as 'ddd', 'dmm'(default) or 'dms' - altunits Units for altitude (f)eet or (m)etres + stylesheet Path to HTML style sheet + encrypt (0/1) Encrypt hints using ROT13 + logs (0/1) Include groundspeak logs if present + degformat Degrees output as 'ddd', 'dmm'(default) or 'dms' + altunits Units for altitude (f)eet or (m)etres humminbird_ht Humminbird tracks (.ht) humminbird Humminbird waypoints and routes (.hwr) lowranceusr Lowrance USR - ignoreicons (0/1) (USR input) Ignore event marker icons on read - writeasicons (0/1) (USR output) Treat waypoints as icons on write - merge (0/1) (USR output) Merge into one segmented trail - break (0/1) (USR input) Break segments into separate trails - wversion (USR output) Write version - title (USR output) Output file title string - serialnum (USR output) Device serial number - description (USR output) Output file content description + ignoreicons (0/1) (USR input) Ignore event marker icons on read + writeasicons (0/1) (USR output) Treat waypoints as icons on write + merge (0/1) (USR output) Merge into one segmented trail + break (0/1) (USR input) Break segments into separate trails + wversion (USR output) Write version + title (USR output) Output file title string + serialnum (USR output) Device serial number + description (USR output) Output file content description magellanx Magellan SD files (as for eXplorist) - deficon Default icon name - maxcmts Max number of comments to write (maxcmts=200) + deficon Default icon name + maxcmts Max number of comments to write (maxcmts=200) magellan Magellan SD files (as for Meridian) - deficon Default icon name - maxcmts Max number of comments to write (maxcmts=200) + deficon Default icon name + maxcmts Max number of comments to write (maxcmts=200) magellan Magellan serial protocol - deficon Default icon name - maxcmts Max number of comments to write (maxcmts=200) - baud Numeric value of bitrate (baud=4800) - noack (0/1) Suppress use of handshaking in name of speed - nukewpt (0/1) Delete all waypoints + deficon Default icon name + maxcmts Max number of comments to write (maxcmts=200) + baud Numeric value of bitrate (baud=4800) + noack (0/1) Suppress use of handshaking in name of speed + nukewpt (0/1) Delete all waypoints miniHomer MiniHomer, a skyTraq Venus 6 based logger (downloa - baud Baud rate used for download - dump-file Dump raw data to this file - erase (0/1) Erase device data after download - first-sector First sector to be read from the device - initbaud Baud rate used to init device (0=autodetect) - last-sector Last sector to be read from the device (-1: smart - no-output (0/1) Disable output (useful with erase) - read-at-once Number of sectors to read at once (0=use single se - Home POI for Home Symbol as lat:lng[:alt] - Car POI for Car Symbol as lat:lng[:alt] - Boat POI for Boat Symbol as lat:lng[:alt] - Heart POI for Heart Symbol as lat:lng[:alt] - Bar POI for Bar Symbol as lat:lng[:alt] - gps-utc-offset Seconds that GPS time tracks UTC (0: best guess) - gps-week-rollover GPS week rollover period we're in (-1: best guess) + baud Baud rate used for download + dump-file Dump raw data to this file + erase (0/1) Erase device data after download + first-sector First sector to be read from the device + initbaud Baud rate used to init device (0=autodetect) + last-sector Last sector to be read from the device (-1: smart + no-output (0/1) Disable output (useful with erase) + read-at-once Number of sectors to read at once (0=use single se + Home POI for Home Symbol as lat:lng[:alt] + Car POI for Car Symbol as lat:lng[:alt] + Boat POI for Boat Symbol as lat:lng[:alt] + Heart POI for Heart Symbol as lat:lng[:alt] + Bar POI for Bar Symbol as lat:lng[:alt] + gps-utc-offset Seconds that GPS time tracks UTC (0: best guess) + gps-week-rollover GPS week rollover period we're in (-1: best guess) garmin_xt Mobile Garmin XT Track files ftype Garmin Mobile XT ([ATRK]/STRK) (required) - trk_header Track name processing option ([0]-nrm/1-ign) + trk_header Track name processing option ([0]-nrm/1-ign) mtk-bin MTK Logger (iBlue 747,...) Binary File Format - csv MTK compatible CSV output file + csv MTK compatible CSV output file mtk MTK Logger (iBlue 747,Qstarz BT-1000,...) download - erase (0/1) Erase device data after download - erase_only (0/1) Only erase device data, do not download anything - log_enable (0/1) Enable logging after download - csv MTK compatible CSV output file - block_size_kb Size of blocks in KB to request from device + erase (0/1) Erase device data after download + erase_only (0/1) Only erase device data, do not download anything + log_enable (0/1) Enable logging after download + csv MTK compatible CSV output file + block_size_kb Size of blocks in KB to request from device tpg National Geographic Topo .tpg (waypoints) - datum Datum (default=NAD27) + datum Datum (default=NAD27) tpo2 National Geographic Topo 2.x .tpo tpo3 National Geographic Topo 3.x/4.x .tpo navilink NaviGPS GT-11/BGT-11 Download - nuketrk (0/1) Delete all track points - nukerte (0/1) Delete all routes - nukewpt (0/1) Delete all waypoints - nukedlg (0/1) Clear the datalog - datalog (0/1) Read from datalogger buffer - power_off (0/1) Command unit to power itself down + nuketrk (0/1) Delete all track points + nukerte (0/1) Delete all routes + nukewpt (0/1) Delete all waypoints + nukedlg (0/1) Clear the datalog + datalog (0/1) Read from datalogger buffer + power_off (0/1) Command unit to power itself down sbp NaviGPS GT-31/BGT-31 datalogger (.sbp) sbn NaviGPS GT-31/BGT-31 SiRF binary logfile (.sbn) nmea NMEA 0183 sentences - snlen Max length of waypoint name to write - gprmc (0/1) Read/write GPRMC sentences - gpgga (0/1) Read/write GPGGA sentences - gpvtg (0/1) Read/write GPVTG sentences - gpgsa (0/1) Read/write GPGSA sentences - date Complete date-free tracks with given date (YYYYMMD - get_posn (0/1) Return current position as a waypoint - pause Decimal seconds to pause between groups of strings - append_positioning (0/1) Append realtime positioning data to the output fil - baud Speed in bits per second of serial port (baud=4800 - gisteq (0/1) Write tracks for Gisteq Phototracker - ignore_fix (0/1) Accept position fixes in gpgga marked invalid + snlen Max length of waypoint name to write + gprmc (0/1) Read/write GPRMC sentences + gpgga (0/1) Read/write GPGGA sentences + gpvtg (0/1) Read/write GPVTG sentences + gpgsa (0/1) Read/write GPGSA sentences + date Complete date-free tracks with given date (YYYYMMD + get_posn (0/1) Return current position as a waypoint + pause Decimal seconds to pause between groups of strings + append_positioning (0/1) Append realtime positioning data to the output fil + baud Speed in bits per second of serial port (baud=4800 + gisteq (0/1) Write tracks for Gisteq Phototracker + ignore_fix (0/1) Accept position fixes in gpgga marked invalid osm OpenStreetMap data files - tag Write additional way tag key/value pairs - tagnd Write additional node tag key/value pairs - created_by Use this value as custom created_by value + tag Write additional way tag key/value pairs + tagnd Write additional node tag key/value pairs + created_by Use this value as custom created_by value ozi OziExplorer - pack (0/1) Write all tracks into one file - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - wptfgcolor Waypoint foreground color - wptbgcolor Waypoint background color - proximity Proximity distance - altunit Unit used in altitude values - proxunit Unit used in proximity values - codec codec to use for reading and writing strings (defa + pack (0/1) Write all tracks into one file + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + wptfgcolor Waypoint foreground color + wptbgcolor Waypoint background color + proximity Proximity distance + altunit Unit used in altitude values + proxunit Unit used in proximity values + codec codec to use for reading and writing strings (defa qstarz_bl-1000 Qstarz BL-1000 skytraq SkyTraq Venus based loggers (download) - erase (0/1) Erase device data after download - targetlocation Set location finder target location as lat,lng - configlog Configure logging parameter as tmin:tmax:dmin:dmax - baud Baud rate used for download - initbaud Baud rate used to init device (0=autodetect) - read-at-once Number of sectors to read at once (0=use single se - first-sector First sector to be read from the device - last-sector Last sector to be read from the device (-1: smart - dump-file Dump raw data to this file - no-output (0/1) Disable output (useful with erase) - gps-utc-offset Seconds that GPS time tracks UTC (0: best guess) - gps-week-rollover GPS week rollover period we're in (-1: best guess) + erase (0/1) Erase device data after download + targetlocation Set location finder target location as lat,lng + configlog Configure logging parameter as tmin:tmax:dmin:dmax + baud Baud rate used for download + initbaud Baud rate used to init device (0=autodetect) + read-at-once Number of sectors to read at once (0=use single se + first-sector First sector to be read from the device + last-sector Last sector to be read from the device (-1: smart + dump-file Dump raw data to this file + no-output (0/1) Disable output (useful with erase) + gps-utc-offset Seconds that GPS time tracks UTC (0: best guess) + gps-week-rollover GPS week rollover period we're in (-1: best guess) skytraq-bin SkyTraq Venus based loggers Binary File Format - first-sector First sector to be read from the file - last-sector Last sector to be read from the file (-1: read til - gps-utc-offset Seconds that GPS time tracks UTC (0: best guess) - gps-week-rollover GPS week rollover period we're in (-1: best guess) + first-sector First sector to be read from the file + last-sector Last sector to be read from the file (-1: read til + gps-utc-offset Seconds that GPS time tracks UTC (0: best guess) + gps-week-rollover GPS week rollover period we're in (-1: best guess) subrip SubRip subtitles for video mapping (.srt) - video_time Video position for which exact GPS time is known ( - gps_time GPS time at position video_time (hhmmss[.sss], def - gps_date GPS date at position video_time (yyyymmdd, default - format Format for subtitles + video_time Video position for which exact GPS time is known ( + gps_time GPS time at position video_time (hhmmss[.sss], def + gps_date GPS date at position video_time (yyyymmdd, default + format Format for subtitles openoffice Tab delimited fields useful for OpenOffice - snlen Max synthesized shortname length - snwhite (0/1) Allow whitespace synth. shortnames - snupper (0/1) UPPERCASE synth. shortnames - snunique (0/1) Make synth. shortnames unique - urlbase Basename prepended to URL on output - prefer_shortnames (0/1) Use shortname instead of description - datum GPS datum (def. WGS 84) + snlen Max synthesized shortname length + snwhite (0/1) Allow whitespace synth. shortnames + snupper (0/1) UPPERCASE synth. shortnames + snunique (0/1) Make synth. shortnames unique + urlbase Basename prepended to URL on output + prefer_shortnames (0/1) Use shortname instead of description + datum GPS datum (def. WGS 84) text Textual Output - nosep (0/1) Suppress separator lines between waypoints - encrypt (0/1) Encrypt hints using ROT13 - logs (0/1) Include groundspeak logs if present - degformat Degrees output as 'ddd', 'dmm'(default) or 'dms' - altunits Units for altitude (f)eet or (m)etres - splitoutput (0/1) Write each waypoint in a separate file + nosep (0/1) Suppress separator lines between waypoints + encrypt (0/1) Encrypt hints using ROT13 + logs (0/1) Include groundspeak logs if present + degformat Degrees output as 'ddd', 'dmm'(default) or 'dms' + altunits Units for altitude (f)eet or (m)etres + splitoutput (0/1) Write each waypoint in a separate file unicsv Universal csv with field structure in first line - datum GPS datum (def. WGS 84) - grid Write position using this grid. - utc Write timestamps with offset x to UTC time - format (0/1) Write name(s) of format(s) from input session(s) - filename (0/1) Write filename(s) from input session(s) - fields Name and order of input fields, separated by '+' - codec codec to use for reading and writing strings (defa + datum GPS datum (def. WGS 84) + grid Write position using this grid. + utc Write timestamps with offset x to UTC time + format (0/1) Write name(s) of format(s) from input session(s) + filename (0/1) Write filename(s) from input session(s) + fields Name and order of input fields, separated by '+' + codec codec to use for reading and writing strings (defa vcard Vcard Output (for iPod) - encrypt (0/1) Encrypt hints using ROT13 + encrypt (0/1) Encrypt hints using ROT13 wbt-bin Wintec WBT-100/200 Binary File Format wbt Wintec WBT-100/200 GPS Download - erase (0/1) Erase device data after download + erase (0/1) Erase device data after download wbt-tk1 Wintec WBT-201/G-Rays 2 Binary File Format Supported data filters: - arc Include Only Points Within Distance of Arc - file File containing vertices of arc - rte Route(s) are vertices of arc - trk Track(s) are vertices of arc + arc Include Only Points Within Distance of Arc + file File containing vertices of arc + rte Route(s) are vertices of arc + trk Track(s) are vertices of arc distance Maximum distance from arc (required) - exclude Exclude points close to the arc - points Use distance from vertices not lines - project Move waypoints to its projection on lines or verti - bend Add points before and after bends in routes - distance Distance to the bend in meters where the new point - minangle Minimum bend angle in degrees - discard Remove unreliable points with high hdop or vdop - hdop Suppress points with higher hdop - vdop Suppress points with higher vdop - hdopandvdop Link hdop and vdop suppression with AND - sat Minimum sats to keep points - fixnone Suppress points without fix - fixunknown Suppress points with unknown fix - elemin Suppress points below given elevation in meters - elemax Suppress points above given elevation in meters - matchname Suppress points where name matches given name - matchdesc Suppress points where description matches given na - matchcmt Suppress points where comment matches given name - matchicon Suppress points where type matches given name - duplicate Remove Duplicates - shortname Suppress duplicate waypoints based on name - location Suppress duplicate waypoint based on coords - all Suppress all instances of duplicates - correct Use coords from duplicate points - interpolate Interpolate between trackpoints - time Time interval in seconds - distance Distance interval in miles or kilometers - route Interpolate routes instead - nuketypes Remove all waypoints, tracks, or routes - waypoints Remove all waypoints from data stream - tracks Remove all tracks from data stream - routes Remove all routes from data stream - polygon Include Only Points Inside Polygon + exclude Exclude points close to the arc + points Use distance from vertices not lines + project Move waypoints to its projection on lines or verti + bend Add points before and after bends in routes + distance Distance to the bend in meters where the new point + minangle Minimum bend angle in degrees + discard Remove unreliable points with high hdop or vdop + hdop Suppress points with higher hdop + vdop Suppress points with higher vdop + hdopandvdop Link hdop and vdop suppression with AND + sat Minimum sats to keep points + fixnone Suppress points without fix + fixunknown Suppress points with unknown fix + elemin Suppress points below given elevation in meters + elemax Suppress points above given elevation in meters + matchname Suppress points where name matches given name + matchdesc Suppress points where description matches given na + matchcmt Suppress points where comment matches given name + matchicon Suppress points where type matches given name + duplicate Remove Duplicates + shortname Suppress duplicate waypoints based on name + location Suppress duplicate waypoint based on coords + all Suppress all instances of duplicates + correct Use coords from duplicate points + interpolate Interpolate between trackpoints + time Time interval in seconds + distance Distance interval in miles or kilometers + route Interpolate routes instead + nuketypes Remove all waypoints, tracks, or routes + waypoints Remove all waypoints from data stream + tracks Remove all tracks from data stream + routes Remove all routes from data stream + polygon Include Only Points Inside Polygon file File containing vertices of polygon (required) - exclude Exclude points inside the polygon - position Remove Points Within Distance + exclude Exclude points inside the polygon + position Remove Points Within Distance distance Maximum positional distance (required) - all Suppress all points close to other points + all Suppress all points close to other points time Maximum time in seconds between two points (required) - radius Include Only Points Within Radius + radius Include Only Points Within Radius lat Latitude for center point (D.DDDDD) (required) lon Longitude for center point (D.DDDDD) (required) distance Maximum distance from center (required) - exclude Exclude points close to center - nosort Inhibit sort by distance to center - maxcount Output no more than this number of points - asroute Put resulting waypoints in route of this name - resample Resample Track - decimate Decimate, decrease sample rate by a factor of n - interpolate Interpolate, increase sample rate by a factor of n - average Running average of n points - simplify Simplify routes - count Maximum number of points in route - error Maximum error - crosstrack Use cross-track error (default) - length Use arclength error - relative Use relative error + exclude Exclude points close to center + nosort Inhibit sort by distance to center + maxcount Output no more than this number of points + asroute Put resulting waypoints in route of this name + resample Resample Track + decimate Decimate, decrease sample rate by a factor of n + interpolate Interpolate, increase sample rate by a factor of n + average Running average of n points + simplify Simplify routes + count Maximum number of points in route + error Maximum error + crosstrack Use cross-track error (default) + length Use arclength error + relative Use relative error sort Rearrange waypoints, routes and/or tracks by resor - description Sort waypoints by description - gcid Sort waypoints by numeric geocache ID - shortname Sort waypoints by short name - time Sort waypoints by time - rtedesc Sort routes by description - rtename Sort routes by name - rtenum Sort routes by number - trkdesc Sort tracks by description - trkname Sort tracks by name - trknum Sort tracks by number - stack Save and restore waypoint lists - push Push waypoint list onto stack - pop Pop waypoint list from stack - swap Swap waypoint list with item on stack - copy (push) Copy waypoint list - append (pop) Append list - discard (pop) Discard top of stack - replace (pop) Replace list (default) - depth (swap) Item to use (default=1) - reverse Reverse stops within routes - track Manipulate track lists - move Correct trackpoint timestamps by a delta - pack Pack all tracks into one - split Split by date or time interval (see README) - sdistance Split by distance - merge Merge multiple tracks for the same way - name Use only track(s) where title matches given name - start Use only track points after this timestamp - stop Use only track points before this timestamp - title Basic title for new track(s) - fix Synthesize GPS fixes (PPS, DGPS, 3D, 2D, NONE) - course Synthesize course - speed Synthesize speed - seg2trk Split track at segment boundaries into multiple tr - trk2seg Merge tracks inserting segment separators at bound - segment segment tracks with abnormally long gaps - faketime Add specified timestamp to each trackpoint - discard Discard track points without timestamps during mer - minimum_points Discard tracks with fewer than these points + description Sort waypoints by description + gcid Sort waypoints by numeric geocache ID + shortname Sort waypoints by short name + time Sort waypoints by time + rtedesc Sort routes by description + rtename Sort routes by name + rtenum Sort routes by number + trkdesc Sort tracks by description + trkname Sort tracks by name + trknum Sort tracks by number + stack Save and restore waypoint lists + push Push waypoint list onto stack + pop Pop waypoint list from stack + swap Swap waypoint list with item on stack + copy (push) Copy waypoint list + append (pop) Append list + discard (pop) Discard top of stack + replace (pop) Replace list (default) + depth (swap) Item to use (default=1) + reverse Reverse stops within routes + track Manipulate track lists + move Correct trackpoint timestamps by a delta + pack Pack all tracks into one + split Split by date or time interval (see README) + sdistance Split by distance + merge Merge multiple tracks for the same way + name Use only track(s) where title matches given name + start Use only track points after this timestamp + stop Use only track points before this timestamp + title Basic title for new track(s) + fix Synthesize GPS fixes (PPS, DGPS, 3D, 2D, NONE) + course Synthesize course + speed Synthesize speed + seg2trk Split track at segment boundaries into multiple tr + trk2seg Merge tracks inserting segment separators at bound + segment segment tracks with abnormally long gaps + faketime Add specified timestamp to each trackpoint + discard Discard track points without timestamps during mer + minimum_points Discard tracks with fewer than these points transform Transform waypoints into a route, tracks into rout - wpt Transform track(s) or route(s) into waypoint(s) [R - rte Transform waypoint(s) or track(s) into route(s) [W - trk Transform waypoint(s) or route(s) into tracks(s) [ - rptdigits Number of digits in generated names - rptname Use source name for route point names - del Delete source data after transformation - timeless Create transformed points without times - height Manipulate altitudes - add Adds a constant value to every altitude (meter, ap - wgs84tomsl Converts WGS84 ellipsoidal height to orthometric h - swap Swap latitude and longitude of all loaded points - validate Validate internal data structures - checkempty Check for empty input - debug Output debug messages instead of possibly issuing + wpt Transform track(s) or route(s) into waypoint(s) [R + rte Transform waypoint(s) or track(s) into route(s) [W + trk Transform waypoint(s) or route(s) into tracks(s) [ + rptdigits Number of digits in generated names + rptname Use source name for route point names + del Delete source data after transformation + timeless Create transformed points without times + height Manipulate altitudes + add Adds a constant value to every altitude (meter, ap + wgs84tomsl Converts WGS84 ellipsoidal height to orthometric h + swap Swap latitude and longitude of all loaded points + validate Validate internal data structures + checkempty Check for empty input + debug Output debug messages instead of possibly issuing diff --git a/reference/topomapexample.txt b/reference/topomapexample.txt index 02b35ef1d..67b32439a 100644 --- a/reference/topomapexample.txt +++ b/reference/topomapexample.txt @@ -4,5 +4,5 @@ new Work The place I love to be :) -43.528788 172.604622 2478050 5742000 255 1 new SQUARE -43.530962 172.636401 2480620 5741770 255 1 http://www.ccc.govt.nz new MGD I have a cache near here -43.579588 172.673997 2483680 5736380 255 1 http://www.geocacghing.com/seek/cache_details.aspx?ID=19000 new MAGOBS Magnetic Observatory -43.422331 172.352275 2457560 5753700 255 1 http://magobs.co.nz -new MAPA Farm -43.360444 172.549087 2473460 5760680 255 1 +new MAPA Farm -43.360444 172.549087 2473460 5760680 255 1 new BOTTLE Bottle Lake -43.462214 172.672152 2483480 5749420 255 1 http://www.bottlelake.co.nz diff --git a/reference/usage.txt b/reference/usage.txt index 991577e5f..fd8de8bc9 100644 --- a/reference/usage.txt +++ b/reference/usage.txt @@ -26,11 +26,11 @@ Options: -T Process realtime tracking information -w Process waypoint information [default] -b Process command file (batch mode) - -x filtername Invoke filter (placed between inputs and output) + -x filtername Invoke filter (placed between inputs and output) -D level Set debug level [0] -h, -? Print detailed help and exit -V Print GPSBabel version and exit -[Press enter] \ No newline at end of file +[Press enter] diff --git a/vecs.cc b/vecs.cc index cb30a7ef4..ebad270ab 100644 --- a/vecs.cc +++ b/vecs.cc @@ -1067,12 +1067,12 @@ void Vecs::disp_vecs() const const QVector args = vec.arginfo; for (const auto& arg : args) { if (!(arg.argtype & ARGTYPE_HIDDEN)) { - printf(" %-18.18s %s%-.50s %s\n", + printf(" %-18.18s %s%-.50s%s\n", qPrintable(arg.argstring), (arg.argtype & ARGTYPE_TYPEMASK) == ARGTYPE_BOOL ? "(0/1) " : "", qPrintable(arg.helpstring), - (arg.argtype & ARGTYPE_REQUIRED) ? "(required)" : ""); + (arg.argtype & ARGTYPE_REQUIRED) ? " (required)" : ""); } } } @@ -1090,12 +1090,12 @@ void Vecs::disp_vec(const QString& vecname) const const QVector args = vec.arginfo; for (const auto& arg : args) { if (!(arg.argtype & ARGTYPE_HIDDEN)) { - printf(" %-18.18s %s%-.50s %s\n", + printf(" %-18.18s %s%-.50s%s\n", qPrintable(arg.argstring), (arg.argtype & ARGTYPE_TYPEMASK) == ARGTYPE_BOOL ? "(0/1) " : "", qPrintable(arg.helpstring), - (arg.argtype & ARGTYPE_REQUIRED) ? "(required)" : ""); + (arg.argtype & ARGTYPE_REQUIRED) ? " (required)" : ""); } } } -- 2.30.2